{{extend 'layout.html'}}
<h2>{{=T('Uploaders')}}</h2>
<table width=100%>
    <tr>
        <th>{{=T('Email')}}</th>
        <th>{{=T('Can Upload')}}</th>
    </tr>
    {{for user in users:}}
    <tr>
        <td>{{=user.email}}</td>
        <td>
        {{if user.id == auth.user.id:}}
            {{=user.id in uploaders and 'yes' or 'no'}}
        {{else:}}
            <a href="?toggle={{=user.id}}">{{=user.id in uploaders and 'yes' or 'no'}}</a>
        {{pass}}
        </td>
    </tr>
    {{pass}}
</table>
